package com.cloud.code.真题;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

/**
 * 敏感字段加密
 */
public class Demo27 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        List<String> list = new ArrayList<>();
        String line = scanner.nextLine();



        while (line.length()>0){
            if(line.contains("\"")){
                int index = line.indexOf("\"");
                String substring = line.substring(0, index-1);
                String[] s = substring.split("_");
                list.addAll(Arrays.asList(s));
                int index1 = line.substring(index + 1).indexOf("\"");
                list.add(line.substring(index+1,index+index1+1));
                line = line.substring(index+index1+3);

            }else {
                list.addAll(Arrays.asList(line.split("_")));
                break;
            }
        }

        System.out.println(list);

    }
}
